package cn.justforchris.user.mapper;

import cn.justforchris.user.query.QueryPage;
import cn.justforchris.user.domain.User;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

//@Mapper
public interface UserMapper {
    void insertUser(User user);
    void deleteUser(Long id);
    void patchDelete(Long[] ids);
    void updateUser(User user);
    User getUserById(Long id);
    List<User> getAll();

    List<User> queryPage(QueryPage queryPage);



}
